﻿using System;

namespace eDepotSystem
{
    public abstract class Vehicle
    {
        protected string make;
        protected string model;
        protected int weight;
        protected string regNumber;
        protected int capacity;
        protected Driver driver;
        //protected ServiceHistory svcHistory;
        public Vehicle(
                string make,
                string model,
                string regNumber,
                int weight,
                int capacity
        )
        {
            this.make = make;
            this.model = model;
            this.regNumber = regNumber;
            this.weight = weight;
            this.capacity = capacity;
        }

        public Driver GetDriver()
        {
            return driver;
        }
        public void SetDriver(Driver driver)
        {
            this.driver = driver;
        }
        public string GetMake()
        {
            return make;
        }
        public string GetModel()
        {
            return model;
        }
        public int GetWeight()
        {
            return weight;
        }
        public string GetRegNumber()
        {
            return regNumber;
        }
        public int GetCapacity()
        {
            return capacity;
        }

    }

}